package com.aia.aia2.web.group;

import java.util.List;

import org.apache.log4j.Logger;

import com.aia.aia2.domain.Formdata;
import com.aia.aia2.domain.Gpinsu;
import com.aia.aia2.service.GroupService;

@SuppressWarnings("serial")
public class Form2Action extends InsuActionSupport {
	private static final Logger logger = Logger.getLogger(Form2Action.class);
	private String rid;
	private String refid;
	private GroupService groupService;
	private Formdata formdata;
	private Gpinsu gpinsu;
	private List insuList;
	public void doExecute() {
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}
		getGroupService().form2Action(this);
		// TODO add xml file to do validation
		logger.debug("rid=" + rid);
	}
	public String getRid() {
		return rid;
	}
	public void setRid(String rid) {
		this.rid = rid;
	}

	public Gpinsu getGpinsu() {
		return gpinsu;
	}
	public void setGpinsu(Gpinsu gpinsu) {
		this.gpinsu = gpinsu;
	}
	public GroupService getGroupService() {
		return groupService;
	}
	public void setGroupService(GroupService groupService) {
		this.groupService = groupService;
	}
	public Formdata getFormdata() {
		return formdata;
	}
	public void setFormdata(Formdata formdata) {
		this.formdata = formdata;
	}
	public List getInsuList() {
		return insuList;
	}
	public void setInsuList(List insuList) {
		this.insuList = insuList;
	}
	public String getRefid() {
		return refid;
	}
	public void setRefid(String refid) {
		this.refid = refid;
	}
}
